﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DT.Core.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("sys_node")]
    public partial class SysNode
    {
           public SysNode(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
           public int Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(ColumnName="title")]
           public string Title {get;set;}

           /// <summary>
           /// Desc:前端默认路由名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(ColumnName="name")]
           public string Name {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(ColumnName="icon")]
           public string Icon {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(ColumnName="jump")]
           public string Jump {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:True
           /// </summary>           
           [SugarColumn(ColumnName="spread")]
           public bool? Spread {get;set;}

           /// <summary>
           /// Desc:父级ID
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(ColumnName="pid")]
           public int Pid {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(ColumnName="order_no")]
           public int OrderNo {get;set;}

           /// <summary>
           /// Desc:如：1-1-1 ， 代表各级id关系
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(ColumnName="path")]
           public string Path {get;set;}

           /// <summary>
           /// Desc:层级数
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(ColumnName="level")]
           public int Level {get;set;}

    }
}
